class RefundInfoM {
  RefundInfoM({
      this.id, 
      this.orderAmount, 
      this.orderId, 
      this.amount, 
      this.imgUrl, 
      this.reason, 
      this.state,});

  RefundInfoM.fromJson(dynamic json) {
    id = json['id'];
    orderAmount = json['order_amount'];
    orderId = json['order_id'];
    amount = json['amount'];
    imgUrl = json['img_url'] != null ? json['img_url'].cast<String>() : [];
    reason = json['reason'];
    state = json['state'];
  }
  num? id;
  num? orderAmount;
  String? orderId;
  num? amount;
  List<String>? imgUrl;
  String? reason;
  num? state;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['id'] = id;
    map['order_amount'] = orderAmount;
    map['order_id'] = orderId;
    map['amount'] = amount;
    map['img_url'] = imgUrl;
    map['reason'] = reason;
    map['state'] = state;
    return map;
  }

}